<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<%@ include file="../admin/top.jsp"%>
<link href="${ctx}/resource/css/form_table.css" rel="stylesheet" type="text/css" />

</head>
<body>
	<form action="" method="post">
		<input type="hidden" name="userId" value="0"/> 
		<table class="formTable" cellspacing="0" cellpadding="0">
			<tr  class="formTr">
				<td  class="formTd formTdHead">登录帐号：</td>
				<td class="formTd">
					<input id="userName" name="userName" type="text"/>
				</td>
			</tr>
			<tr  class="formTr">
				<td class="formTd formTdHead">登录密码：</td>
				<td class="formTd">
					<input id="password" name="password" type="password"/>
				</td>
			</tr>
			<tr  class="formTr">
				<td class="formTd formTdHead">密码确认：</td>
				<td class="formTd">
					<input id="repassword" name="repassword" type="password"/>
				</td>
			</tr>
			<tr  class="formTr">
				<td  class="formTd formTdHead">用户姓名：</td>
				<td class="formTd">
					<input id="name" name="name" type="text"/>
				</td>
			</tr>
			<tr  class="formTr">
				<td class="formTd formTdHead ">联系电话：</td>
				<td class="formTd">
					<input id="phone" name="phone" type="text" /></td>
			</tr>
			<tr  class="formTr">
				<td class="formTd formTdHead">邮箱：</td>
				<td class="formTd">
					<input id="email" name="email" type="text" /></td>
			</tr>
			<tr  class="formTr">
				<td class="formTd formTdHead">描述：</td>
				<td class="formTd">
					<textarea rows="3" cols="41" name="remark" style="font-size: 12px; font-family: '微软雅黑'"></textarea>
				</td>
			</tr>
		</table>
	</form>
	<script type="text/javascript">
	$(function(){
		$("#userName").validatebox({required:'required',validType:"length[0,50]"});
		$("#password").validatebox({required:'required',validType:"length[0,15]"});
		$("#repassword").validatebox({required:'required',validType:"length[0,15]"});
		$("#name").validatebox({required:'required',validType:"length[0,20]"});
		$("#remark").validatebox({validType:"length[0,50]"});
		$("#email").validatebox({validType:['email','length[0,32]']});
		$("#phone").validatebox({validType:['mobile','length[0,11]']});
	});
	</script>
</body>
</html>